﻿using PublicCommon;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace T_Foundation.Domain
{
    /// <summary>
    /// 货主管理
    /// </summary>
    [Table("Shippers")]
    public class Shippers: Audit
    {
        /// <summary>
        /// 自增标识列
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 货主名称
        /// </summary>
        public string? ShipperName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string? PhoneNumber { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string? NameWorkUnit { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        public string? ContactAddress { get; set; }

        /// <summary>
        /// 驾驶证有效日期
        /// </summary>
        public DateTime? ValidDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }

        /// <summary>
        /// 驾驶证照片
        /// </summary>
        public string? DriverPhoto { get; set; }
    }
}
